projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cc314
)
spinner: Set clip
author
Timm Bäder
<mail@baedert.org>
Thu, 4 May 2017 14:09:13 +0000
(16:09 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:11 +0000
(21:27 -0400)
gtk/gtkspinner.c
patch
|
blob
|
history
diff --git
a/gtk/gtkspinner.c
b/gtk/gtkspinner.c
index b11c80655a749f156019be470f36a04270d2d39f..9861f86826ad4bb752c08581069360e4454ddecf 100644
(file)
--- a/
gtk/gtkspinner.c
+++ b/
gtk/gtkspinner.c
@@
-103,9
+103,7
@@
static void
gtk_spinner_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
- GtkAllocation clip;
-
- gtk_widget_set_allocation (widget, allocation);
+ GtkAllocation clip = *allocation;
gtk_css_gadget_allocate (GTK_SPINNER (widget)->priv->gadget,
allocation,